package com.web.exiaodao.business.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.web.exiaodao.business.entity.Moments;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;

public interface MomentsService extends BaseServiceInterFace<Moments>{
	
	/**
	 * 朋友圈查询，分页，用户名查询
	 * @param nextPage
	 * @param pageSize
	 * @param filterParams
	 * @author huangyang
	 * @return
	 * @throws BusinessException
	 */
	public XaResult<Page<Moments>> findMomentskList(
			Integer nextPage,Integer pageSize, Map<String, Object> filterParams) throws BusinessException;
	
	/**
	 * 根据朋友圈ID查找好友或者其他人对朋友圈评论或点赞详情
	 * @param nextPage
	 * @param pageSize
	 * @param filterParams
	 * @return
	 * @throws BusinessException
	 */
	public List<Moments> findMomentsInteractionsByMomentsId(Long momentsId) throws BusinessException;
}
